package com.zqr.test.DateTest;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;

/**
 * @author zqr
 * @since 2022/11/11
 */
public class DateTest01 {
    public static void main(String[] args) throws ParseException {
       /* SimpleDateFormat sf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String oldTime = "2022-11-11 14:53:00";
        long start = sf.parse(oldTime).getTime();
        long end = System.currentTimeMillis();
        System.out.println(start);
        System.out.println(end);
        long min = (end - start) / (1000 * 60);  //得到两个时间差，单位是分钟
        System.out.println(min);
        ArrayList list = new ArrayList();
        list.get(0);*/

        StringBuffer stringBuffer = new StringBuffer();
        String a = null;
        stringBuffer.append(a);
        System.out.println(stringBuffer.toString());
    }
}
